#include"Student.h"

istream& operator>>(istream& cin, Student& s)
{
	cin >> s.m_id >> s.m_name >> s.m_math >> s.m_physics >> s.m_english;
	return cin;
}

ostream& operator<< (ostream& cout, const Student& s)
{
	cout << "| " << setw(11) << s.m_id << " | " << setw(8) << s.m_name << " | " << setw(4) << s.m_math
		<< " | " << setw(4) << s.m_physics << " | " << setw(4) << s.m_english << " |" << endl;
	return cout;
}

